﻿using System;
using System.Web;
using System.Web.Mvc;

namespace Wiki.Web.Controllers
{
    public class HomeController : Controller
    {
        [ControllerAction]
        public void Default()
        {
            Response.SeeOther(Request.Url.ToString("default.aspx", "page.html"));
        }

        [ControllerAction]
        public void Page()
        {
            RenderView("Page");
        }
    }
}